<?php
include_once "com/code/View.php";
include_once "com/code/video/VideoModel.php";

class EmisionPageController extends Controller {
	public function __construct($params) {
		parent::__construct($params);
	}

	public static function getVideo($params) {
		$videoId = $params['id'];
		$videoModel = new VideoModel();
		$videoBean = $videoModel->getVideoBean($videoId);

		$vars = array('videoBean' => $videoBean);
		$view = new View("com/code/emisionpage/EmisionPageView.php");
		$view->display($vars);
	}
}
?>